<!DOCTYPE html>
<!--
 (c) 2013 Rob Wu <rob@robwu.nl>
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<html>
<head>
<!-- Only for optionsV2 pages -->
<base target="_blank">
<meta charset="utf-8">
<title>CRX Viewer options</title>
<style>
body {
    margin: 2em 3em;
}
label {
    display: block;
    margin: 1em 0;;
    line-height: 150%;
}
footer {
    border-top: 1px solid #CCC;
    padding: 1rem 0;
    text-align: center;
}
#contextmenuPatterns {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 3em;
}
#contextmenuPatternsOutput {
    white-space: pre-wrap;
    word-break: break-all;
}
</style>
</head>
<body>
<label>
    <input type="checkbox" id="contextmenu">
    Add a "View linked extension source" context menu item to Chrome extension and Firefox addon links.
</label>
<label>
    <input type="checkbox" disabled style="visibility:hidden"><!-- Just to align the text... -->
    Also add the menu item to URLs that match the following patterns:
    <textarea id="contextmenuPatterns"></textarea>
    <span id="contextmenuPatternsOutput"></span>
</label>
<!--#if FIREFOX-->
<label id="pageaction-wrapper">
    <input type="checkbox" id="pageaction">
    Show a page action button in the location bar of extension installation pages.
</label>
<!--#endif-->
<label>
    <a href="crxviewer.html">Open Viewer</a> - select a CRX / NEX / XPI / ZIP file to view its contents.
</label>
<footer>
    &copy; 2013 - 2023 Rob Wu &lt;rob@robwu.nl&gt;
    &bull; <a href="https://github.com/Rob--W/crxviewer">Source code on Github</a>
    &bull; <a href="https://chromewebstore.google.com/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin">Chrome Web Store listing</a>
    &bull; <a href="https://addons.opera.com/en/extensions/details/extension-source-viewer/">Opera addon listing</a>
    &bull; <a href="https://addons.mozilla.org/firefox/addon/crxviewer/">Firefox addon listing</a>
</footer>
<script src="storage-sync-polyfill.js"></script>
<script src="options.js"></script>
</body>
</html>
